using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Sirenix.OdinInspector;

public class RemoteMaintain : StuffObject<RemoteMaintain>
{
    [ShowInInspector]
    public bool IsMaintain
    {
        get
        {
            if(!Remote.Stuff.isConnected)
            {
                return false;
            }
            else
            {
                return Remote.Stuff.RawData.TryGet("isMaintain", false);
            }
        }
    }

    [ShowInInspector]
    public string MaintainMsg
    {
        get
        {
            if (!Remote.Stuff.isConnected)
            {
                return "";
            }
            else
            {
                return Remote.Stuff.RawData.TryGet("MaintainMsg", "");
            }
        }
    }
}
